package com.spring.boot.service;

import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.extension.service.IService;
import com.spring.boot.entity.ChinaCity;
import com.spring.boot.response.Result;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface ChinaCityService extends IService<ChinaCity> {
    void mySave(JSONArray chinaCaseList);

    List<?> getRankingInfo(String date);

    List<Integer> getProvinceMapData(String date);

    Map getCitiesTrend();

    Result importData(MultipartFile file) throws IOException;

    Object getChinaCityById(Integer id);

    Object updateChinaCityById(ChinaCity dataChinaCity);

    Object removeChinaCityById(Integer id);

//    boolean ExcelSaveChinaCity();
}
